package com.dempsey.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.dempsey.dao.User;

/**
* @author Dempsey
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-02-08 01:41:42
* @Entity com.dempsey.dao.User
*/
@Mapper
public interface UserMapper {

    List<User> queryUserList();

    List<User> queryUserById(@Param("id") Integer id);

    int addUser(User user);

    int updateUser(User user);

    int deleteById(@Param("id") Integer id);

}




